#include <stdio.h>
#include <math.h>
int main()
{
    float a, b, c, deta,resa,resb;
    scanf("%f %f %f", &a, &b, &c);

    deta = (b * b) - (4 * a * c);

    if (deta>=0)
    {
        resa = (-b + sqrt(deta)) / (2 * a);
        resb = (-b - sqrt(deta)) / (2 * a);
        if (deta==0){
            printf("%.2f",resa);
        }else{
            printf("%.2f %.2f",resa,resb);
        }
    }else{
        resa = -b / (2 * a);
        resb = sqrt(-deta) / (2 * a);
        printf("%.2f+%.2fi ",resa,resb);
        printf("%.2f-%.2fi",resa,resb);
    }
    
    return 0;
}